package cn.myschool.dp;

/**
 * @author oldliu
 * @since 1.0
 */
public class Singleton2 {

    private Singleton2(){

    }
    public static Singleton2 get(){
        return ObjectHolder.intance;
    }
    private static class ObjectHolder{
        public static final Singleton2 intance =new Singleton2();
    }

}
